package com.sakura.content.api;

import com.sakura.base.common.model.PageParams;
import com.sakura.base.common.model.PageResult;
import com.sakura.elderly.dto.ElderlyQueryParamDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

/**
 * @author : Sakura
 * @Date : 2024/1/26 10:37
 * @Description : TODO
 */
@RestController
@Api(value = "课程信息编辑接口", tags = "课程信息编辑接口")
public class BaseInfoController {
    @PostMapping("/course/list")
    @ApiOperation("课程查询接口")
    public String list(PageParams pageParams, @RequestBody(required = false) ElderlyQueryParamDto queryCourseParams) {
        return "hello";
    }
}
